/*
 * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
 * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
 */
package com.sx.sx1.service.impl;

import com.sx.sx1.domain.Test1;
import com.sx.sx1.mapper.Test1Mapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.sx.sx1.service.UserService;

import java.util.List;

/**
 *
 * @author Administrator
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private Test1Mapper test1Mapper;

    @Override
    public void add(){
        System.out.println("add 我是新增方法");
    }

    @Override
    public List<Test1> getTest1Data() {
        return test1Mapper.findAll();
    }
}
